package com.geek.crowdhub.repository.business;


import com.geek.crowdhub.model.business.CampaignIntro;
import com.geek.crowdhub.model.common.User;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;


public interface CampaignIntroRepository extends PagingAndSortingRepository<CampaignIntro, Long>, CrudRepository<CampaignIntro, Long>, JpaSpecificationExecutor<CampaignIntro> {

    List<CampaignIntro> findCampaignIntroByOwner(User owner);
}
